/opt/platform/stopAdmin.sh

if [ -f /opt/platform/hjg-api-admin.jar ]; then
        mv /opt/platform/hjg-api-admin.jar /opt/platform/hjg-api-admin$(date "+%Y%m%d%H%M%S").jar
fi


cp /opt/hjg-parent/hjg_platform/hjg-api-admin/target/hjg-api-admin.jar /opt/platform/hjg-api-admin.jar


cd  /opt/platform
./startAdmin.sh
